{% if list.length %}
  {% for item in list %}
    <div class="list hspace">
      <div class="item text-sm" ui-mode="20px">
        <span class="text">
          {{item.productName}}
          <p>{{ item.optTime|number|date('Y-m-d') }}</p>
        </span>
        <span class="text text-right">
          {% if item.optType != 1 %}
            <p class="text-green">-{{ item.optPoints }}</p>
          {% else %}
            <p class="text-orange">+{{ item.optPoints }}</p>
          {% endif %}
          <p>余额：{{ item.surplusPoints|toFixed(2) }}</p>
        </span>
      </div>
    </div>
  {% endfor %}
{% else %}
  <div class="plate">
    <div class="draw">
      <img src="http://7xjyap.com2.z0.glb.qiniucdn.com/image-2f0df3ff-2a9a-4367-a7df-bd53231b0a9f.png" alt="空白" />
      <h4 class="title">{{ blank|default('还没有明细信息') }}</h4>
    </div>
  </div>
{% endif %}